package syntactic;

public class Symbol {

	private String name;
	private String type;
	private int size;
	private int initialPosition;
	private int finalPosition;
	private int address;
	
	public Symbol (String name) {
		this.name = name;
		this.type = "";
	}
	
	/**
	 * @return the initialPosition
	 */
	public int getInitialPosition() {
		return initialPosition;
	}
	/**
	 * @param initialPosition the initialPosition to set
	 */
	public void setInitialPosition(int initialPosition) {
		this.initialPosition = initialPosition;
	}
	/**
	 * @return the finalPosition
	 */
	public int getFinalPosition() {
		return finalPosition;
	}
	/**
	 * @param finalPosition the finalPosition to set
	 */
	public void setFinalPosition(int finalPosition) {
		this.finalPosition = finalPosition;
	}
	/**
	 * @return the size
	 */
	public int getSize() {
		return size;
	}
	/**
	 * @param size the size to set
	 */
	public void setSize(int size) {
		this.size = size;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * @return the address
	 */
	public int getAddress() {
		return address;
	}
	/**
	 * @param address the address to set
	 */
	public void setAddress(int address) {
		this.address = address;
	}
	
}
